<extend name="./base" />
<block name="body">
    <a href="__ROOT__/Admin/Banner/add">添加</a>
<table class="table">
      <caption>banner列表</caption>
      <thead>
        <tr>
          <th>#</th>
          <th>图片</th>
          <th>链接</th>
          <th>标题</th>
          <th>是否显示</th>
          <th>操作</th>
        </tr>
      </thead>
      <tbody>
      <foreach name="teacher" item="vo">
        <tr>
          <th>{$vo.teacher_id}</th>
          <td>{$vo.relname}</td>
          <td>{$vo.subject}</td>
          <td>{$vo.school}</td>
          <td><a href="__ROOT__/Admin/Teacher/detail/teacher_id/{$vo.teacher_id}">修改</a><a href="__ROOT__/Admin/Teacher/detail/teacher_id/{$vo.teacher_id}">删除</a></td>
        </tr>
     </foreach>   
      </tbody>
    </table>
</block>